#include<bits/stdc++.h>
#define mpr make_pair
#define sz(x) (int)(x.size())
using namespace std;
const int inf=2e9;
const int MAXN=200005;
int main(){
    freopen("arena.in","r",stdin);
    freopen("arena.out","w",stdout);
    int n;
    cin>>n;
    while(n--){
        cout<<1<<endl;
    }
    return 0;
}